Part Number Hot Search : 
Q67006 SP78LXX IN74HC 68HC705 00500 CY7C6 LBN12006 IN74HC
Product Description
Full Text Search
 

To Download DS2770AETAMPR Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  1 of 27 052605 features  integrated charge controller supporting both rechargeable lithium and nimh battery technologies  available in two configurations: ? internal 25m  current-sense resistor ? external user-selectable sense resistor  current measurement: ? 15-bit bidirectional measurement ? internal sense resistor configuration: 62.5  a lsb and  2a dynamic range ? external sense resi stor configuration: 1.56  v lsb and  51.2mv dynamic range  current accumulation ? internal sense resistor: 0.25mah lsb ? external sense resistor: 6.25  vh lsb  voltage measurement with 4.88mv resolution  temperature measurement using integrated sensor with 0.125c resolution  40 bytes of lockable eeprom  16 bytes of general-purpose sram  42-day timer  dallas 1-wire  interface with 64-bit id  1.8v logic levels  low power consumption: ? active current: 80  a typical ? sleep current: 0.5  a typical pin assignment pin description uv ? battery-undervoltage detect output cc ? charge-control output vch ? charge-supply input sns ? sense resistor connection is2 ? current-sense input is1 ? current-sense input vss ? device ground dq ? data input/output vin ? voltage-sense input vdd ? power supply input nc ? no connect description the ds2770 battery monitor and charge controller performs several functions needed for thorough battery maintenance. when used in conjunction with the host system?s processor, a battery-pack resident ds2770 may be utilized for applications that include charging, remaining capacity estimation, safety monitoring, and nonvolatile ( nv) parametric storage. description continued on page 2. ds2770 battery monitor and charge controlle r www.maxim-ic.com ds2770 16-pin tssop u v vdd vin dq vss vss vss nc is1 is2 sns sns 1 2 2 3 2 1 4 5 6 7 8 16 15 14 13 12 11 10 9 sns nc vch cc 1-wire is a registered trademark of dallas semiconductor.
ds2770 2 of 27 ordering information ordering number marking description ds2770ae+ d2770ea tssop, ext. sense res., 4.1v charge voltage, lead-free ds2770be+ d2770eb tssop, ext. sense res., 4.2v charge voltage, lead-free ds2770ae+t&r d2770ea ds2770ae+ on tape and reel, lead-free ds2770be+t&r d2770eb ds2770be+ on tape and reel, lead-free ds2770ae+025 2770ear tssop, 25m ? sense res., 4.1v charge voltage, lead-free ds2770be+025 2770ebr tssop, 25m ? sense res., 4.2v charge voltage, lead-free ds2770ae+025/t&r 2770ear ds2770ae+025 on tape and reel, lead-free ds2770be+025/t&r 2770ebr ds2770be+025 on tape and reel, lead-free ds2770ae d2770ea tssop, ext. sense res., 4.1v charge voltage ds2770be d2770eb tssop, ext. sense res., 4.2v charge voltage ds2770ae/t&r d2770ea ds2770ae on tape and reel ds2770be/t&r d2770eb ds2770be on tape and reel ds2770ae-025 2770ear tssop, 25m ? sense res., 4.1v charge voltage ds2770be-025 2770ebr tssop, 25m ? sense res., 4.2v charge voltage ds2770ae-025/t&r 2770ear ds2770ae-025 on tape and reel ds2770be-025/t&r 2770ebr ds2770be-025 on tape and reel description (contd.) the ds2770 provides a unique id, a digital temperature sensor, an analog-to-digital converter (adc) that measures battery voltage and current, an integrated current accumulator that keeps a running total of all current entering and leaving the battery, an elapsed time meter, nv memory for storage of important parameters, and an integrated charge controller s upporting rechargeable lithium (including lithium-ion and lithium-ion polymer) and nickel metal hydride (nimh) batteries. current measurement can be accomplished through the use of an integrated 25m  sense resistor or through an external sense resistor. the resolution of the current, voltage, and temperature measurements is sufficient for process monitoring applications such as battery-charge control and safe ty. the charge-control technique is user-selectable to support either pulse charge for rechargeable lithiu m or dt/dt termination for nimh. additionally, programmable charge timers and low-battery recovery are provided for safety and convenience. information is sent to/from the ds2770 over a 1-wire interface so that only one wire (and ground) needs to be connected from a processor to a ds2770. this means that ds2770-equipped battery packs need only four output connectors: battery power, charge source, ground, and th e 1-wire interface. each device has a factory-programmed 64-bit net address that a llows it to be individuall y addressed by the host system. two types of memory are provided on the ds2770 fo r battery information storage: lockable eeprom and sram. eeprom memory saves important battery data in true nv memory that is unaffected by severe battery depletion, accidental shorts, or esd events and becomes rom when locked to provide additional security for unchanging battery data. sr am provides inexpensive storage for temporary data.
ds2770 3 of 27 block diagram figure 1 1-wire interface and address thermal sense mux voltage reference adc lockable eeprom sram temperature voltage current a ccum current timer status/control registers and user memory timebase 25m  vss sns dq vin is1 is2 charge control cc uv vch adc chip ground internal sense resistor configuration only
ds2770 4 of 27 detailed pin description table 1 pin symbol description 1 uv battery undervoltage detect output: this pin allows charge of the battery at a reduced rate when the battery cell voltage is less than the low battery voltage threshold, v lb . 2 cc charge control output: charge of the battery is controlled through this pin when battery cell voltage is greater than or equal to v lb . 3 vch charge supply input: the charge source is connected to this pin and is measured by the ds2770 to determine if a charge source is present. 4, 5, 6 sns sense resistor connection: connect to the negative terminal of the battery pack. in the internal sense resi stor configuration, the sense resistor is connected between vss and sns. 8 is2 current-sense input: this pin is internally connected to sns through a 10k  resistor. connect a 0.1  f capacitor between is2 and is1 to complete a lowpass filter. 9 is1 current-sense input: this pin is internally connected to vss through a 10k  resistor. connect a 0.1  f capacitor between is1 and is2 to complete a lowpass filter. 11, 12, 13 vss device ground: connect directly to the negative terminal of the battery cell. for the external sense resistor configuration, connect the sense resistor betwee n vss and sns. 14 dq data input/out: 1-wire data line. open-drain output driver. connect this pin to the data terminal of the battery pack. pin has an internal pull- down for sensing disconnection. 15 vin voltage sense input: the voltage on the battery cell is monitored via this input pin. 16 vdd power supply input: input supply voltage for the ds2770 (2.7v to 5.5v) 7, 10 nc do not connect.
ds2770 5 of 27 application example figure 2 vdd fmmt718 4403 uv cc vch sns sns sns is2 nc vin dq vss vss vss nc is1 lithium protection circuit 4.7k  1k  1k  100  150  0.1  f0.1  f 360  0.1  f r sns (1) 150  pack+ charge source pack- data r sns-int (2) 10k  10k  voltage sense ds2770 vss sns is2 is1 5.1v 1 ? r sns is present for external sense resistor configuration only. 2 ? r sns-int is present for internal sense resistor configuration only.
ds2770 6 of 27 power modes the ds2770 has two possible power modes: active mode and sleep mode. while in active mode, the ds2770 continually measures current, voltage, temperat ure, and time. also, current flow is accumulated, charge control is provided, and data is available to the host system. in sleep mode, the ds2770 ceases these activities. the ds2770 can enter sleep mode only when the pmod bit in the status register is set to 1 and the following other conditions occur:  the cini bit is set to 0 and the dq line is held lo w for longer than two seconds. if a charge is in progress, charging will immediately stop and the device will begin transition to sleep mode.  the cini bit is set to 1 and the dq line is held low for longer than two seconds. if a charge is in progress, the ds2770 will not go into sleep mode until the charge operation is completed. the ds2770 returns to active mode when any of the following occurs:  the dq line is pulled high.  the voltage on vch becomes greater than vdd (charger connection) with the cini bit set to 1. once the ds2770 identifies the 2 second dq low condition, a transition to sleep mode begins. this process will take up to an additional 11 seconds before the supply current drops to i sleep levels. the ds2770 defaults to active mode when power is first applied to vdd. charger function the ds2770 operates as a standalone charge controller supporting rechargeable lithium and nimh battery technologies. the battery type to be charged is selectable through the ctype bit of the status register (0 for rechargeable lithium and 1 for nimh). charge control of both battery types is performed by on/off gating of an external constant current or cu rrent-limited charge source. if the battery voltage is less than v lb and a charge source is present, pin uv is driven low, signifying the need to recover the battery at a reduced rate before fast charging can begin. in figure 2?s application circuit, uv gates a trickle-charge current limited by a 360  series resistor. selection of this resistor depends on the characteristics of the charge source. uv is driven low independent of any other state of the pack, including pack temperature and the status of the cini bit. uv is driven high when the battery voltage reaches v lb . while trickle charging, a ?charge in progress? status is indicated with (0, 1) values, respectively, in the cstat1 and cstat0 bits of the status register assuming any previous charge sequence completed status has been cleared. fast charging can be initiated by one of two methods: 1) issuing a start charge command [b5h]. 2) introducing a charge supply on the vch pin when the cini bit in the status register is a 1. note that if vdd is below approximately 1.8v prior to using either initiation method, fast charge will not start after the battery is trickle charged to v lb . after initiation, the start of fast charge may be postponed if any of the following conditions exist:  the temperature is outside the valid charge window specified by t cl (0c) and t ch (40c).  charge source is not present (vch < vdd).  conversion data is not valid (data become s valid 110ms after waking from sleep mode).  battery voltage is less than the low-battery-voltage threshold, v lb , (3.0v).
ds2770 7 of 27 after initiation and clearing of the above conditions, fast charging begins with the cc pin driven low. during fast charging, cc remains low, except for periodic testing of premature charge source removal in which cc is driven high for approximately 27  s every 55ms. as long as the charge source remains connected and the temperature remains in the valid range, charging will proceed per the method selected by the ctype bit. if the charge source is removed or the stop charge command [beh] is issued, cc is driven high and charging must be reinitiated by one of the two charge initiation methods described previously. charging will also be stopped if the dq line is low for >2s and the cini bit is set to 0. assuming any previous charge status has been cleared, a ?charge in progress? status is indicated during fast charging with (0, 1) values, respectively, in the cstat1 and cstat0 bits of the status register. upon charge completion according to the method sel ected with the ctype bit, or completion due to either of the secondary methods, pin cc will return to the high state, and a charge done condition will be flagged with (1, 1) values in the cstat1 and cstat0 bits of the status register. note that the charge done status is latched and must be cleared by a write of any value to the status register. once charging has been completed or aborted, th e ds2770 may either enter the sleep mode or remain active, depending on the state of the pmod bit described previously in the power modes section. rechargeable lithium charger operation fast charging of lithium cell types is performed in two distinct regions. the bulk charge region delivers most of the charge to the cell by gating current from the charge source while the battery voltage is below the charge voltage threshold, v cv . the cc pin remains low, drivin g a pnp or p-channel mosfet switch. when the battery voltage reaches v cv , the pulse region begins in which a pulse-charge technique is employed that allows cc to remain low for a delay period of t vcv (875ms) after which cc is driven high. when the battery voltage decays below v cv , cc is again driven low and the cycle is repeated. the pulse region of charge continues with the cc duty cycle slowly changing. eventually, the battery voltage decay time, and thus the cc high time, becomes longer than 13.125s, and charge is terminated. the charge decay time limit, t cd , includes one 875ms period of cc low and 15 periods high for a total time of 14s. the average charge rate at termination is 1/16 of the rate set by the charge source. see figure 3 for an illustration of the t cd decay method. see the secondary charge termination section for the secondary termination means based on time or temp erature included for increased safety.
ds2770 8 of 27 rechargeable lithium pulse charging figure 3 nimh charger operation during nimh charging, charge current from a constant current or current-limited supply is gated to the battery under control of uv and cc pins. since the transition from trickle charge to fast charge occurs when the battery reaches 3.0v, a three-cell nimh battery will begin fast charge at 1.0v per cell. a voltage divider can be used to adjust the transition poi nt to a higher per cell voltage, though values in the voltage measurement register would be affected by the divider ratio. at the start of fast charge, the ds2770 uses the mo st recent temperature measurement to determine the appropriate dt/dt termination rate for the ambient conditions from table 2 below. during the first 5 minutes, temperature rate termination is bla nked to avoid false dt/d t detection due to i 2 r heating. after the blanking period, dt/dt detection begins using one of the initial rates from table 2 and requires that the rate of temperature rise continue at or above the selected rate for 2. 8 minutes. internally, values from the temperature measurement register are averaged in determining the sustained rate of temperature rise. the effective rate shown in table 2 is based on nimh charge data and represents the predicted instantaneous dt/dt rate at termination. nimh charge termination thresholds table 2 dt/dt threshold ambient temperature (  c) initial (  c/min) effective (  c/min) 0 to +5 0.30 1.0 +5 to +15 0.45 1.0 +15 to +40 0.60 1.0 t cd complete charge pulse charge charge trickle vin t vcv cc uv lb cv v v pulse region bulk region
ds2770 9 of 27 secondary charge termination two secondary charge terminations are included. i ndependent of battery technology selection, charge terminates if the maximum charge temperature is ex ceeded or the charge timer expires. the cstat1 and cstat0 bits in the status register will both be set to 1 to indicate a ?charge sequence completed? status. the maximum temperature threshold, t mct , is fixed at +50c. if the temperature measurement exceeds t mct during charge, the charge is terminated. the maximum charge time is set in the charge time register, ctr. ctr is initialized from lockable eeprom location address 34h at th e start of fast charge ( cc driven low after initiation). ctr decrements by one count every 56 seconds (t ctr ) during fast charge. if ctr reaches zero, charging is terminated. since ctr is writable, the value in ctr may be overwritten at any time during a charge to modify the maximum charge time. figure 4 shows the format of ctr. charge time register figure 4 address 06 2 7 2 6 2 5 2 4 2 3 2 2 2 1 2 0 msb lsb units: 0.015625h current measurement in the active mode of operation, the ds2770 continuall y measures the current flow into and out of the battery by measuring the voltage drop across a curre nt-sense resistor. the ds2770 is available in two configurations: 1) internal 25m  current-sense resistor; 2) external user-selectable sense resistor. in either configuration, the ds2770 considers the voltage difference between pins is1 and is2 (v is = v is1 - v is2 ) to be the filtered voltage drop across the sense resistor. a positive v is value indicates current is flowing into the battery (charging), while a negative v is value indicates current is flowing out of the battery (discharging). note that when an external sense resistor is used, one end of the resistor must be wired directly to vss (the negative terminal of th e cell) for proper operation of the current measurement circuitry. v is is measured with a signed resolution of 15 bits. measurements are updated in the current register in two?s complement format every 3.52 seconds. the curre nt register value represents the average current over 3.52 seconds. currents outside the register?s rang e are reported at the limit of the range. figure 5 shows the format of the current register. for the internal sense resistor configuration, the ds 2770 maintains the current register in units of amps, with a resolution of 62.5  a and a full-scale range of 2.048a. the ds2770 automatically compensates for internal sense resistor process variations and temperature effects when reporting current. for the external sense resistor config uration, the ds2770 writes the measured v is voltage to the current register, with a resolution of 1.56  v and a full-scale range of 51.2mv.
ds2770 10 of 27 current register format figure 5 msb?address 0e lsb?address 0f s 2 14 2 13 2 12 2 11 2 10 2 9 2 8 2 7 2 6 2 5 2 4 2 3 2 2 2 1 2 0 msb lsb msb lsb units: 62.5  ah for internal sense resisto r 1.56  vh for external sense resisto r current accumulators the current accumulator facilitates remaining capacity estimation by tracking the net current flow into and out of the battery. current flow into the battery increments the current accumulator while current flow out of the battery decrements it. data is maintained in the current accumulator in two?s complement format and updated every 3.52s. figure 6 th e format of the current accumulator. when the internal sense resistor is used, the ds2 770 maintains the current accumulator in units of amp- hours, with a resolution of 250  a and full-scale range of  8.19ah. when using an external sense resistor, the ds2770 maintains the current accumulator in units of volt-hours, with a resolution of 6.25  vh and a full-scale range of  205mvh. accumulated current register format figure 6 msb?address 10 lsb?address 11 s 2 14 2 13 2 12 2 11 2 10 2 9 2 8 2 7 2 6 2 5 2 4 2 3 2 2 2 1 2 0 msb lsb msb lsb units: 0.25mah for internal sense resisto r 6.25  vh for external sense resisto r current offset compensation current measurement and consequently the current accumulation are internally compensated for offset on a continual basis to minimize errors from variati ons in device temperature and supply voltage. offset compensation is corrected to 1lsb at least once per hour. additionally, the current offset bias register provides a user-programmable constant bias value that may be used to correct for errors due to circuit layout or topology that result in current measurement or current accumulation erro rs. it can also be used to arbitrarily apply a constant bias to force the curr ent measurement to be pessimistic, or correct for room temperature self-discharge. the current offset bias value is stored in eeprom addresses 32h and 33h in two?s complement format. the stored value is subtracted from each current measurement; therefore, positive values (0001h to 7fffh) bias the current meas urement and current accumulation in the discharge direction. figure 7 shows the format of the current offset bias register.
ds2770 11 of 27 current-offset bias figure 7 msb?address 32 lsb?address 33 s 2 14 2 13 2 12 2 11 2 10 2 9 2 8 2 7 2 6 2 5 2 4 2 3 2 2 2 1 2 0 msb lsb msb lsb units: 0.0625ma for internal sense resisto r 1.5625  v for external sense resisto r voltage measurement the ds2770 continuously measures the voltage between pins vin and vss with a resolution of 4.88mv over a range of 0v to 4.992v. measurement data is updated every 55ms and placed in the voltage register in two?s complement form at. voltages above the maximum regi ster value are reported as the maximum value. figure 8 shows the voltage register format. voltage register format figure 8 msb?address 0c lsb?address 0d s 2 9 2 8 2 7 2 6 2 5 2 4 2 3 2 2 2 1 2 0 x x x x x msb lsb msb lsb units: 4.88mv temperature measurement the ds2770 uses an integrated temperature sensor to continually measure battery temperature with a resolution of 0.125c. temperature measurements ar e updated every 55ms and placed in the temperature register in two?s complement format. figure 9 shows the temperature register format. temperature register format figure 9 msb?address 18 lsb?address 19 s 2 9 2 8 2 7 2 6 2 5 2 4 2 3 2 2 2 1 2 0 x x x x x msb lsb msb lsb units: 0.125  c timer the ds2770 provides a general-purpose timer with a ra nge of 1024h. the timer count is stored in the elapsed time register with a reso lution of approximately 56s. the count will roll over to zero when it reaches its maximum value and begin counting up agai n. additionally, the user can write any desired value to the register. figure 10 shows the elapsed time register format.
ds2770 12 of 27 elapsed time register format figure 10 msb?address 02 lsb?address 03 2 15 2 14 2 13 2 12 2 11 2 10 2 9 2 8 2 7 2 6 2 5 2 4 2 3 2 2 2 1 2 0 msb lsb msb lsb units: 0.015625h r memory the ds2770 has a 256-byte linear address space with regi sters for instrumentation, status, and control in the lower 32 bytes, with lockable eeprom and sram memory occupying portions of the remaining address space. all eeprom and sr am memory is general purpose except addresses 31h, 32h, 33h, and 34h, which should be written with the default values for the status register (31h), current offset register (32h to 33h), and charge time regist er (34h). when the msb of any two-byte register is read, both the msb and lsb are latched and held for the duration of the read data command to prevent updates during the read and ensure synchronization between two register bytes. for consistent results, always read the msb and the lsb of a two-byte register dur ing the same read data command sequence. eeprom memory is shadowed by ram to eliminate programming delays between writes and to allow the data to be verified by the host system before being copied to eeprom. all reads and writes to/from eeprom memory actually access shadow ram. in unlocked eeprom blocks, the write data command updates shadow ram. in locked eeprom bl ocks, the write data command is ignored. the copy data command copies the contents of sh adow ram to eeprom in an unlocked block of eeprom, but has no effect on locked blocks. the recall data command copies the contents of a block of eeprom to shadow ram. lockable eeprom is byte programmable and functions as eeprom until reprogramming is disabled by the user. the lockable eeprom can be locked in se parate blocks and operate as general eeprom until locked by the lock command [6axxh]. reprogramming of the lockable eeprom blocks is permanently disabled once the lock command is used. addresses 20 to 2fh comprise a first 16-byte block, addresses 30 to 3fh comprise a second 16-byte block, and a ddresses 40 to 47h comprise a third 8-byte block. within the second block, address 31h holds the status register initialization data, addresses 32h and 33h hold the current offset register, and address 34h holds the charge time register initializ ation data. the status register initialization data is supplied to the status register in location address 01h on either a device power up or upon the execution of the refresh command [63h]. the charge time initialization data is supplied to the charge time regi ster in address 06h upon the start of fast charge. the status register and the charge time register are both initialized directly from the eeprom and not from the shadow ram. however, the current offset data is supplied di rectly from the shadow ram. see the sections on the status register and the charge time register for more detailed information. see the detailed memory map in figure 11 for more information on the ds2770 memory.
ds2770 13 of 27 memory map figure 11 address (hex) description r/w 00 reserved 01 status register r** 02 elapsed time register msb r/w 03 elapsed time register lsb r/w 04 to 05 reserved 06 charge time register r/w 07 eeprom register r/w 08 to 0b reserved 0c voltage register msb r 0d voltage register lsb r 0e current register msb r 0f current register lsb r 10 accumulated current register msb r/w 11 accumulated current register lsb r/w 12 to 17 reserved 18 temperature register msb r 19 temperature register lsb r 1a to 1f reserved 20 to 2f lockable eeprom block 0 r/w* 30 to 3f lockable eeprom block 1 (31 = status register initialization) (32 to 33 = current offset register) (34 = charge time register initialization) r/w* 40 to 47 lockable eeprom block 2 r/w* 48 to 7f reserved 80 to 8f general-purpose sram r/w 90 to ff reserved * the lockable eeprom address locations 20h throug h 47h are writeable until locked by using the lock function command [6axxh], after which it is read only. ** the status register bits are read only. however, writing any byte value to the status register is required to clear a previous charge completion cond ition flagged with both cstat1, cstat0 bits set. status register the default values for the status register are stor ed in lockable eeprom in the corresponding bits of address 31h. these values in address location 31h are supplied directly to the status register (not from shadow ram) on either a device power-up or upon execution of the refresh command. changes to the status register bits must be made to the eepro m location 31h, and then use the refresh command to recall the changes to the status register. figure 12 shows the format of the status register. the function of each bit is described in detail in the following paragraphs.
ds2770 14 of 27 status register format figure 12 address 01 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 cstat1 cstat0 pmod rnaop x x cini ctype cstat1, cstat0 ? charge status. the cstat1 and cstat0 bits indicate the status of charge per the table below: cstat1 cstat0 status 0 0 no charge source present 0 1 charge in progress 1 0 charge source is present 1 1 charge sequence completed the charge sequence complete state (1, 1) is present until cleared by a write to the status register. pmod ? sleep mode enable. a value of 1 in this bit enables the ds2770 to enter sleep mode when the dq line goes low for greater than two seconds and leaves sleep mode when the dq line goes high. a value of 0 disables dq-related transitions into an d out of sleep mode. the desired default value should be set in bit 5 of address location 31h. the factory default of the pmod bit is 0. rnaop ? read net address opcode. a valu e of 0 in this bit sets the opcode for the read net address command to 33h, while a 1 sets the opcode to 39h. th e desired default value should be set in bit 4 of address location 31h. the factory default of the rnaop bit is 0. cini ? charge initiation select. the cini bit is used to determine the method of charge initiation that will be allowed. a value of 0 indicates that charge may be started only upon use of the start charge [b5h] command. a value of 1 indicates that charge may be started by either the start charge command, or by the application of a charge source at the charge s upply input pin, vch. the desired default value should be set in bit 1 of address location 31h. the factory de fault of the cini bit is 0. ctype ? charge type. the charge type bit indicates the charge mode that will be used during charging. a 1 selects nimh charger operation and a 0 selects rechargeable lithium charger operation. the desired default value should be set in bit 0 of addr ess location 31h. it is suggested that the eeprom block containing the status register initiation (loca tion 31h) be locked once th e ctype and other status register bits are configured to avoid any possible unintended alterations during use. the factory default of the ctype bit is 0. x ? reserved bits.
ds2770 15 of 27 eeprom register figure 13 shows the format of the eeprom register. th e function of each bit is described in detail in the following paragraphs. eeprom register format figure 13 address 07 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 eec lock x x x bl2 bl1 bl0 eec ? eeprom copy flag. a 1 in this read-only bit indicates that a copy data command is in progress. while this bit is high, writes to eeprom addresses are ignored. a 0 in this bit indicates that data may be written to unlocked eeprom blocks. lock ? eeprom lock enable. this bit is used to enable the lock command by writing a 1 to it prior to issuing the command. when this bit is 0, the lock command is ignored. after the lock command is executed, the lock bit is reset to 0. the lock bit will also be reset by any other command issued after the bit has been set. the factory default is 0. bl2 ? eeprom block 2 lock flag. a 1 in this r ead-only bit indicates that eeprom block 2 (addresses 40 to 47h) is locked (read-only) while a 0 indicates block 2 is unlocked (read/write). bl1 ? eeprom block 1 lock flag. a 1 in this r ead-only bit indicates that eeprom block 1 (addresses 30 to 3fh) is locked (read-only) while a 0 indicates block 1 is unlocked (read/write). bl0 ? eeprom block 0 lock flag. a 1 in this r ead-only bit indicates that eeprom block 0 (addresses 20 to 2fh) is locked (read-only) while a 0 indicates block 0 is unlocked (read/write). x ? reserved bits. 1-wire bus system the 1-wire bus is a system that has a single bus master and one or more slaves. a multidrop bus is a 1-wire bus with multiple slaves. a single-drop bus has only one slave device. in all instances, the ds2770 is a slave device. the bus mast er is typically a microprocessor in the host system. the discussion of this bus system consists of four topics: 64-b it net address, hardware c onfiguration, transaction sequence, and 1-wire signaling. 64-bit net address each ds2770 has a unique factory-programmed 1-wire ne t address that is 64 bits in length. the first eight bits are the 1-wire family code (2eh for ds 2770). the next 48 bits are a unique serial number. the last eight bits are a crc of the first 56 bits (see figure 14). the 64-bit net address and the 1-wire i/o circuitry built into the device enable the ds2770 to communicate through the 1-wire protocol detailed in the 1-wire bus system section of this data sheet.
ds2770 16 of 27 net address format figure 14 8-bit crc 48-bit serial number 8-bit family code (2eh) crc generation the ds2770 has an 8-bit crc stored in the most signif icant byte of its 64-bit net address. to ensure error-free transmission of the address, the host system can compute a crc value from the first 56 bits of the address and compare it to the crc from the ds2770. the host system is responsible for verifying the crc value and taking action as a result. the ds2770 does not compare crc values and does not prevent a command sequence from proceeding as a result of a crc mismatch. proper use of the crc can result in a communication channel with a ve ry high level of integrity. the 1-wire crc can be generated by the host using a circuit consisting of a shift register and xor gates as shown in figure 15, or it can be generate d in software. additional in formation about the dallas 1-wire cyclic redundancy check is available in application note 27, understanding and using cyclic redundancy checks with dallas semi conductor touch memory products. in figure 15, the shift register bits are initialized to 0. then, starting with the least significant bit of the family code, one bit at a time is shifted in. after the 8 th bit of the family code has been entered, the serial number is entered. after the 48 th bit of the serial number has been entered, the shift register contains the crc value. 1-wire crc generation block diagram figure 15 hardware configuration because the 1-wire bus has only a single line, it is important that each device on the bus be able to drive it at the appropriate time. to facilitate this, each device attached to the 1-wire bus must connect to the bus with open-drain or tristate output drivers. the ds2770 uses an open-dr ain output driver as part of the bidirectional interface circuitry shown in figure 16. if a bidirectional pin is not available on the bus master, separate output and input pins can be tied together. the 1-wire bus must have a pull-up resistor at the bus-master end of the bus. for short line lengths, the value of this resistor should be approximately 5k  . the idle state for the 1-wire bus is high. if, for any reason, a bus transaction must be suspended, the bus mu st be left in the idle state in order to properly resume the transaction later. if the bus is left low for more than 120  s, slave devices on the bus begin to interpret the low period as a reset pulse, effectively terminating the transaction. msb xor xor lsb xor in p ut
ds2770 17 of 27 1-wire bus interface circuitry figure 16 transaction sequence the protocol for accessing the ds2770 th rough the 1-wire port is as follows:  initialization  net address command  function command  transaction/data the sections that follow describe each of these steps in detail. all transactions of the 1-wire bus begin with an initialization sequence consisting of a reset pulse transmitted by the bus master followed by a presence pulse simultaneously transmitted by the ds2770 and any other slaves on the bus. the presence pulse tells the bus master that one or more devices are on the bus and ready to operate. for more details, see the 1-wire signaling section. net address commands once the bus master has detected the presence of one or more slaves, it can issue one of the five net address commands described in the following paragr aphs. the name of each net address command is followed by the 8-bit opcode for that command in square brackets. figure 17 presents a transaction flowchart of the five net address commands. read net address [33h or 39h]. this command allows the bus master to read the ds2770?s 1-wire net address. this command can only be used if there is a single slave on the bus. if more than one slave is present, a data collision occurs when all slaves try to transmit at the same time (open drain produces a wired-and result). the rnaop bit in the status register selects the opcode for this command, with rnaop = 0 indicating 33h and rnaop = 1 indicating 39h. match net address [55h]. this command, followed by a 64-bit net address, allows the bus master to specifically address one ds2770 on the 1-wire bus. only the ds2770 that exactly matches the 64-bit address responds to the subsequent function comma nd. all other slaves ignore the function command and wait for a reset pulse. this command can be us ed with one or more slave devices on the bus. a typ. t x r x r x t x r x = receive t x = transmit bus master ds2770 1-wire port i pd 2.0v < v pullup < 5.5v
ds2770 18 of 27 skip net address [cch]. this command saves time when there is only one ds2770 on the bus by allowing the bus master to issue a function command without specifying the net address of the slave. if more than one slave device is present on the bus, a subsequent function command can cause a data collision when all slaves transmit data at the same time. search net address [f0h]. this command allows the bus master to use a process of elimination to identify the net addresses of all slave devices on the bus. the search process involves the repetition of a simple three-step routine: read a bit, read the complement of the bit, then write the desired value of that bit. the bus master performs this simple three-step routine on each bit of the net address. after one complete pass through all 64 bits, the bus master know s the address of one device. the remaining devices can then be identified on add itional passes. see chapter 5 of the book of ds19xx i button standards for a comprehensive discussion of a net address search, including an actual example. the search net address algorithm cannot be used with the ds2770 in multi-drop applications with any 1-wire devices that have either a 6h or eh as the ls byte of the 1-wire family code. because the 1-wire family code of the ds2770 is 2eh, search net address cannot be used to ascertain the 64-bit serial numbers of multiple ds2770?s on a single bus. if an application doe s require two ds2770 to share a common bus, the bus master may determine the serial numbers of each de vice using the read net address function, with one part configured to respond to the 33h command (r naop = 0) and the other the 39h command (rnaop = 1). resume [a5h]. this command is used to speed data throughput in multidrop environments where the ds2770 needs to be accessed several times. the ds2770 contai ns an internal flag th at, when set, directly transfers control to the memory function commands upon receipt of a resume command, similar to the skip net address command. the only way the internal flag is set is through successfully executing the match net address command or search net address command. once the flag is set, the device can repeatedly be accessed through the resume command function. accessing another device on the bus will clear the flag, thus preventing two or more devi ces from simultaneously responding to the resume command function. function commands after successfully completing one of the five net address commands, the bus master can access the features of the ds2770 with any of the function co mmands described in the following paragraphs. the name of each function is followed by the 8-b it opcode for that command in square brackets. read data [69h, xx]. this command reads data from the ds2770 starting at memory address xx. the lsb of the data in address xx is available to be r ead immediately after the msb of the address has been entered. because the address is automatically incremented after the msb of each byte is received, the lsb of the data at address xx+1 is available to be read immediately after the msb of the data at address xx. if the bus master continues to read beyond address ffh, the ds2770 will start over at address 00h. addresses labeled ?reserve d? in the memory map contain undefine d data. the read data command may be terminated by the bus master w ith a reset pulse at any bit boundary. i button is a registered trademark of dallas semiconductor.
ds2770 19 of 27 write data [6ch, xx]. this command writes data to the ds2770 starting at memory address xx. the lsb of the data to be stored at address xx can be written immediately after the msb of the address has been entered. because the address is automatically incremented after the msb of each byte written, the lsb to be stored at address xx+1 can be written immediately after the msb to be stored at address xx. if the bus master continues to write beyond address ffh, the ds2770 will start over-writing at address 00h. writes to read-only addresse s, reserved addresses, and locked eep rom blocks are ignored. incomplete bytes are not written. writes to unlocked eeprom blocks are to shadow ram rather than eeprom. see the memory section for more details. copy data [48h, xx]. this command copies the contents of shadow ram to eeprom for the eeprom block beginning with address xx (20h for bl ock 0, 30h for block 1, and 40h for block 2). copy data commands that address locked blocks are ignored. while the copy data command is executing, the eec bit in the eeprom register is set to 1 and writes to eeprom addresses are ignored. reads and writes to non-eeprom addresses can still occur while th e copy is in progress. the copy data command takes t eec time to execute. recall data [b8h, xx]. this command recalls the contents of the eeprom block containing the first address location found in the block to shadow ram. lock [6ah, xx]. this command locks (write-protects) blocks of eeprom whose first memory location is xx (20h for block 0, 30h for block 1, and 40h for block 2). the lock bit in the eeprom register must be set to 1 before the lock command is executed. the lock command must be the next command issued (after the 1-wire reset) once the lock bit has b een set. if the lock bit is 0, the lock command has no effect. the lock command is permanent; a locked block can never be written again. the lock command takes t eec time to execute. refresh [63h]. the refresh command restores the status register initialization data stored in address location 31h to the status register. the status register is initialized directly from the eeprom and not from the shadow ram. start charge [b5h]. the start charge command is used to initiate charge through the host interface. stop charge [beh]. the stop charge command is used to terminate charge through the host interface.
ds2770 20 of 27 rom command flow chart figure 17 yes master tx reset pulse ds2770 tx presence pulse master tx net address command 55h match 33h or 39h read f0h search cch skip ds2770 tx family code 1 byte ds2770 tx serial number 6 bytes ds2770 tx crc 1 byte master tx bit 0 bit 0 match? master tx bit 1 ds2770 tx bit 0 ds2770 tx bit 0 master tx bit 0 bit 0 match? ds2770 tx bit 1 ds2770 tx bit 1 master tx bit 1 bit 1 match? bit 1 match? master tx function command master tx bit 63 ds2770 tx bit 63 ds2770 tx bit 63 master tx bit 63 bit 63 match ? master tx function command yes no no no no yes yes yes no no no no yes yes yes yes no yes a5h resume resume flag set? no yes no master tx function command clear resume flag set resume fla g
ds2770 21 of 27 function commands table 3 command description command protocol bus state after command protocol bus data read data reads data from memory map starting at address xx 69h, xx master r x unlimited write data writes data to memory starting at address xx 6ch, xx master tx unlimited copy data copies shadow ram data to eeprom block that begins with address location xx 48h, xx master reset none recall data recalls eeprom block that begins with address location xx to shadow ram b8h, xx master reset none lock permanently locks the block of lockable eeprom memory that begins with address location xx 6ah, xx master reset none refresh restores status register initialization data 63h master reset none start charge initiates charge through the host interface. b5h master reset none stop charge terminates charge through the host interface. beh master reset none i/o signaling the 1-wire bus requires strict signaling protocols to insure data integrity. the ds2770 uses the following four protocols: the initiation sequence (reset pulse followed by presence pulse), write 0, write 1, and read data. all of these types of signaling except the presence pulse are initiated by the bus master. figure 18 shows the initialization sequence require d to begin any communication with the ds2770. a presence pulse following a reset pul se indicates the ds2770 is ready to accept a net address command. the bus master transmits (t x ) a reset pulse for t rstl . the bus master then releases the line and goes into receive mode (r x ). the 1-wire bus line is then pulled high by the pull-up resistor. after detecting the rising edge on the dq pin, the ds2770 waits for the t pdh and then transmits the presence pulse for t pdl .
ds2770 22 of 27 1-wire initialization seque nce (reset pulse and presence pulse) figure 18 write time slots a write time slot is initiated when the bus master pulls the 1-wire bus from a logic high (inactive) level to a logic low level. there are two types of write time slots: write 1 and write 0. all write time slots must be t slot (60s to 120s) in duration with a 1s minimum recovery time, t rec , between cycles. the ds2770 samples the 1-wire bus line between 15s and 60 s after the line falls. if the line is high when sampled, a write 1 occurs. if the line is low when sampled, a write 0 occurs (see figure 19). for the bus master to generate a write 1 time slot, the bus line must be pulled low and then released, allowing the line to be pulled high within 15s after the start of the write time slot. for the host to generate a write 0 time slot, the bus line must be pulled low and held low for the duration of the write time slot. read time slots a read time slot is initiated when the bus master pulls the 1-wire bus line from a logic high level to logic low level. the bus master must keep the bus line low for at least 1s and then release it to allow the ds2770 to present valid data. the bus ma ster can then sample the data t rdv (15s) from the start of the read time slot. by the end of the read time slot, the ds2770 releases the bus line and allows it to be pulled high by the external pull-up resistor. all read time slots must be t slot (60s to 120s) in duration with a 1s minimum recovery time, t rec , between cycles. see figure 19 for more information. t rstl t pdl t rsth t pdh v cc gnd line type legend: bus master ac tive low ds2770 active low resistor pullup both bus master and ds2770 active low dq
ds2770 23 of 27 1-wire write and read time slots figure 19 v cc gnd t s l o t dq t low1 t s l o t write 0 slot write 1 slot t low0 t rec >1  s ds2770 sample window min typ max 15  s 15  s 30  s ds2770 sample window min typ max 15  s 15  s 30  s t s l o t v cc gnd read 0 slot read 1 slot t slot t rec dq >1  s t rdv master sample window master sample window t rdv line type legend: bus master active low ds2770 active low resistor pullup both bus master and ds2770 active low
ds2770 24 of 27 absolute maximum ratings* voltage on vin, relative to ground -0.3v to v dd + 0.3v voltage on vch, cc , uv -0.3v to +18v voltage on any other pin, relative to ground -0.3v to +6v current max iol cc , uv 20ma continuous internal sense current 2.5a pulsed internal sense current 50a for <100  s/sec, <1000 pulses operating temperature range -40c to +85c storage temperature range -55c to +125c soldering temperature see ipc/jedec j-std-020a specification * this is a stress rating only and functional operation of the device at these or any other conditions above those indicated in the operation sections of this specification is not implied. exposure to absolute maximum rating conditions for extended periods of time may affect reliability. recommended dc operating conditions (-20  c to +70  c, 2.7v  v dd  5.5v) parameter symbol min typ max units notes supply voltage v dd 2.7 5.5 v 1 data pin dq -0.3 5.5 v 1 dc electrical characteristics (-20  c to +70  c, 2.7v  v dd  5.5v) parameter symbol condition min typ max units notes supply current, sleep mode i sleep dq = 0, no activity 0.5 1  a 9 supply current, active mode i active dq = 1, normal operation 80 120  a 9 vch input current i vch vch = 5v 100 150  a 9 dq input logic high v ih 1.5 v 1 dq input logic low v il 0.4 v 1 v dd = 4.1v, v dq = 0.4v. 0.5 dq input pull-down current i pd v dd = 5.5v, v dq =5.5v 5  a input resistance, pins vin r in 15 m  dq output logic low v ol i ol = 4ma 0.4 v 1
ds2770 25 of 27 uv output low i ol,uv\ v uv\ = 2v 5 10 ma 11 uv output high v oh,uv\ i uv\ = 10  a v p - 0.5v 10 cc output low i ol,cc\ v cc\ = 2v 5 10 ma 11 cc output high v oh,cc\ i cc\ = 10  a v p - 0.5v 10 internal current- sense resistance r sns t a = 25c 20 25 30 m  dq low to i sleep time t slp 5 13 s electrical characteristics: temperature, voltage, current (0  c to 50  c, 2.7v  v dd  4.5v) parameter symbol condition min typ max units notes temperature resolution t lsb 0.125 c temperature error t err 3 c 2 voltage resolution v lsb 4.88 mv voltage full scale v fs 5 v voltage offset error v oerr 1 lsb voltage gain error v gerr  1 %v fs current resolution i lsb 62.5 1.56  a  v 3, 13 4, 13 current full scale i fs 2.048 51.2 a mv 3, 12, 13 4, 12, 13 current offset error i oerr  1 lsb current gain error i gerr  3  1 % 3,7 4 accumulated current resolution q ca 250 6.25  ahr  vhr 3, 13 4, 13 timebase accuracy t err 1 3 % 5
ds2770 26 of 27 eeprom reliability specification (-20  c to 70  c, 2.7v  v dd  5.5v) parameter symbol condition min typ max units notes copy to eeprom time t eec 5 10 ms eeprom copy endurance n eec 25,000 cycles 8 electrical characteristics: charger function (0  c to 50  c, 2.7v  v dd  5.5v) parameter symbol condition min typ max units notes low battery voltage threshold v lb 3.0 v 1 pulse charging voltage threshold v cv 4.1 4.2 v 1,6 lower valid charging temperature threshold t cl 0 c upper valid charging temperature threshold t ch +40 c maximum charging temperature termination threshold t mct +50 c overcharge time t vcv 875 ms charge done timer t cd 14 s
ds2770 27 of 27 electrical characteristics: 1-wire interface (-20  c to 70  c, 2.7v  v dd  5.5v) parameter symbol condition min typ max units notes time slot t slot 60 120  s recovery time t rec 1  s write 0 low time t low0 60 120  s write 1 low time t low1 1 15  s read data valid t rdv 15  s reset time high t rsth 480  s reset time low t rstl 480 960  s presence detect high t pdh 15 60  s presence detect low t pdl 60 240  s dq capacitance c dq 25 pf notes 1) all voltages are referenced to ground. 2) self-heating due to output pin loading; sense resistor power dissipation will alter the reading from ambient conditions. 3) using the internal current-sense resistor. 4) using an external current-sense resistor. 5) typical value for t err is at 3.6v and +25c. 6) see ordering information section of data sheet to determine corresponding part number for each v cv value. 7) this specification includes the effects of temp erature on the sense resistor. the ds2770 compensates for the internal sense resisto r?s temperature coefficient of 3700ppm/c to an accuracy of 500ppm/c. the ds2770 does not attempt to compensate for the characteristics of an external sense resistor. error terms arising from the use of an ex ternal sense resistor sh ould be taken into account when calculating total current measurement error. 8) four-year data retention at +70c. 9) i sleep , i active and i vch are measured with the cc and uv pins floating. 10) v p is the greater of v dd or vch. v oh,cc\ and v oh,uv\ test conditions: vdd = 5.5, vch = 5.7v 11) the uv and cc pins are driven low with respect to the sns pin. current flow into uv or cc is returned to sns and therefore is not included in the current measurement. 12) current full-scale rating limits input saturation and nonlinear conversion under high average current signal levels of either polarity. transient currents up to 1.5 times the current full-scale rating are measured to specified accuracy if the rc filter formed by the internal resistors and external capacitor at the is1 and is2 pins limits the average signal level to the current full-scale rating. 13) this value deviates proportionally to gain error.


▲Up To Search▲   

 
Price & Availability of DS2770AETAMPR

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X